<%@include file="../../_header.jsp" %>


<h1 id="title">Listagem de R&oacute;tulos</h1>
<hr/>

<table style="border-width: medium; border-style: solid;">
		<tr>
		<td> &nbsp; Rotulo &nbsp; </td>
		<td> &nbsp; Marca &nbsp; </td>
		<td> &nbsp; Genero &nbsp; </td>
		<td> &nbsp; Tipo &nbsp; </td>
		<td> &nbsp; Temperatura &nbsp; </td>
		<td> &nbsp; Teor &nbsp; </td>
		<td> &nbsp; Pais &nbsp; </td>
		</tr>
		
		<c:forEach items="${listaRotulos}" var="rotulo">
		<tr>
		
		<td> &nbsp; <c:out value="${rotulo.getNome()}" /> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getMarca()}" /> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getGenero().getNomeGenero()}" /> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getTipo().getNome()}"></c:out> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getTemp().getFaixaTemp()}"></c:out> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getTeor()}"></c:out> &nbsp; </td>
		<td> &nbsp; <c:out value="${rotulo.getPais().getNome()}" /> &nbsp; </td>
		<td><a href='RotuloServlet?comando=alterar&rotulo=<c:out value="${rotulo.getId()}" />'>
		Alterar</a></td>
		<td><a href='RotuloServlet?comando=excluir&rotulo=<c:out value="${rotulo.getId()}" />'>
		Excluir</a></td>
		</tr>
		</c:forEach>
		
</table>


<%@include file="../../_footer.jsp" %>




